Unable to generate a temporary class (result=1). error CS0030: Cannot convert type 'Type[]' to 'Type'?

Posted by grady on Stack Overflow See other posts from Stack Overflow or by grady
Published on 2011-07-13T12:33:05Z Indexed on 2012/10/17 5:03 UTC
Read the original article Hit count: 130

Filed under:
|
|

I get this error after I created a class from my xsd file using the xsd.exe tool. So I searched the net and found a solution. Here is the link: http://satov.blogspot.com/2006/12/xsdexe-generated-classes-causing.html

Problem is that this makes the code run, but somehow the deserialized data seems corrupt. I did what the site suggests and in the end the 2nd array dimension is always empty (see the comments of the site, somebody also had this problem). Question is, how do I solve this issue now? Is there another tool to create the xsd file? I tried Xsd2Code, without success.

Thanks :-)

© Stack Overflow or respective owner

Related posts about c#

Related posts about xsd